package com.horoscope.astrology.zodiac.signs.free.network

import com.horoscope.astrology.zodiac.signs.free.bean.BaseBean

abstract class NetworkListener<T : BaseBean> {

    abstract fun onSuccess(t: T)

    open fun onFailed(t: T) {
        when (t.status) {

        }
    }

    open fun onError(e: String?) {

    }
}